<template>
  <div class="header">
    <div class="logo">
      <img class="logo-img" src="../../assets/logo.png" alt="管理员">
      <span class="logo-text">大漠浩瀚云员工管理系统</span>
    </div>
    <span class="avatar">
      <img class="avatar-img" src="../../assets/avatar.png" alt="演示账号">
      <span>演示账号</span>
    </span>
  </div>
</template>

<script type="text/ecmascript-6">
  export default {}
</script>

<style>
  .header {
    position: relative;
    width: 100%;
    height: 100px;
    line-height: 100px;
    background: #444;
    color: #fff;
    padding: 0 100px;
  }

  .header .logo {
    float: left;
    height: 100%;
    line-height: 100px;
  }

  .header .logo .logo-img {
    width: 80px;
    height: 55px;
    line-height: 100px;
    vertical-align: middle;
    margin-right: 20px;
  }

  .header .logo .logo-text {
    float: right;
    height: 100%;
    line-height: 100px;
    font-size: 20px;
  }

  .header .avatar {
    float: right;
    margin-right: 200px;
  }

  .header .avatar .avatar-img {
    width: 50px;
    height: 50px;
    line-height: 100px;
    vertical-align: middle;
    margin-right: 20px;
  }
</style>
